#parse('include.java')
#if(${model.package})
package $model.package;
#end

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;

#if($model.label)
/**
 * ${model.label}
 * @author wangjg
 *
 */
#end
@Entity
public class ${model.name} extends BasicBizEntity {
#foreach($field in $model.staticFields)

#fieldAnno($model, $field)
	public static final $field.type ${field.name}#if($field.defaultValue) = ${field.defaultValue} #end; #if($field.label)//$field.label#end

#end
#foreach($field in $model.fields)

#fieldAnno($model, $field)
	private $field.type ${field.name}; #if($field.label)//$field.label#end

#end

#foreach($field in $model.fields)
	public $field.type $CSU.getGetMethod(${field.name})() {
		return ${field.name};
	}
	public void $CSU.getSetMethod(${field.name})($field.type ${field.name}) {
		this.${field.name} = ${field.name};
	}

#end
}